home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / dopus412-gpl / program / dopusflags.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  4KB  |  164 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. /* General-purpose flags and defines */
  32.  
  33. #ifndef DOPUS_FLAGS
  34. #define DOPUS_FLAGS
  35.  
  36. /* Search Flags */
  37.  
  38. #define SEARCH_NOCASE     1
  39. #define SEARCH_WILDCARD   2
  40. #define SEARCH_ONLYWORDS  4
  41.  
  42. /* AddIcon Icon Types */
  43.  
  44. #define ICONTYPE_DRAWER  0
  45. #define ICONTYPE_TOOL    1
  46. #define ICONTYPE_PROJECT 2
  47. #define ICONTYPE_TRASH   3
  48.  
  49. /* Font Positions */
  50.  
  51. enum {
  52.     FONT_GENERAL,
  53.     FONT_DIRS,
  54.     FONT_TEXT,
  55.     FONT_GADGETS,
  56.     FONT_MENUS,
  57.     FONT_STATUS,
  58.     FONT_NAMES,
  59.     FONT_CLOCK,
  60.     FONT_REQUEST,
  61.     FONT_STRING,
  62.     FONT_ICONIFY,
  63.     FONT_SCREEN,
  64.  
  65.     FONT_LAST};
  66.  
  67. /* List Format Display IDs */
  68.  
  69. #define DISPLAY_NAME     0
  70. #define DISPLAY_SIZE     1
  71. #define DISPLAY_PROTECT  2
  72. #define DISPLAY_DATE     3
  73. #define DISPLAY_COMMENT  4
  74. #define DISPLAY_FILETYPE 5
  75. #define DISPLAY_OWNER    6
  76. #define DISPLAY_GROUP    7
  77. #define DISPLAY_NETPROT  8
  78.  
  79. #define DISPLAY_LAST     8
  80.  
  81. /* Separation Methods */
  82.  
  83. #define SEPARATE_MIX        0
  84. #define SEPARATE_DIRSFIRST  1
  85. #define SEPARATE_FILESFIRST 2
  86.  
  87. /* Modify Parameters */
  88.  
  89. enum {
  90.     MOD_COPYFLAGS,
  91.     MOD_DELETEFLAGS,
  92.     MOD_ERRORFLAGS,
  93.     MOD_LISTFORMAT,
  94.     MOD_GENERALFLAGS,
  95.     MOD_ICONFLAGS,
  96.     MOD_REPLACEFLAGS,
  97.     MOD_SORTFLAGS,
  98.     MOD_UPDATEFLAGS,
  99.     MOD_OUTPUTCMD,
  100.     MOD_OUTPUTWINDOW,
  101.     MOD_SCRDEPTH,
  102.     MOD_SCREENFLAGS,
  103.     MOD_SCREENMODE,
  104.     MOD_SCRW,
  105.     MOD_SCRH,
  106.     MOD_DIRFLAGS,
  107.     MOD_HELPFILE,
  108.     MOD_DEFAULTTOOL,
  109.     MOD_SHOWDELAY,
  110.     MOD_VIEWPLAYFLAGS,
  111.     MOD_FADETIME,
  112.     MOD_HIDDENBIT,
  113.     MOD_SHOWPATTERN,
  114.     MOD_HIDEPATTERN,
  115.     MOD_ICONIFYFLAGS,
  116.     MOD_SCREENCLOCKFLAGS,
  117.     MOD_SHOWFREEFLAGS,
  118.     MOD_FONT,
  119.     MOD_BANKNUMBER,
  120.     MOD_DATEFORMAT,
  121.     MOD_GADGETROWS,
  122.     MOD_DISPLAYLENGTH,
  123.     MOD_WINDOWDELTA,
  124.     MOD_SORTMETHOD,
  125.     MOD_SEPARATEMETHOD,
  126.     MOD_FILTER,
  127.     MOD_WINDOWXY,
  128.     MOD_WINDOWSIZE,
  129.     MOD_PUBSCREEN,
  130.     MOD_WINDOWXYWH,
  131.     MOD_SCREENNAME,
  132.     MOD_PORTNAME
  133. };
  134.  
  135. /* DOpus NewScreen Tags */
  136.  
  137. #define SCREENTAGS_DISPLAYID   0
  138. #define SCREENTAGS_PENS        1
  139. #define SCREENTAGS_PUBNAME     2
  140. #define SCREENTAGS_OVERSCAN    3
  141. #define SCREENTAGS_AUTOSCROLL  4
  142. #define SCREENTAGS_INTERLEAVED 5
  143.  
  144. /* System-Signals Recognised By DOpus */
  145.  
  146. #define INPUTSIG_ABORT      SIGBREAKF_CTRL_C
  147. #define INPUTSIG_TITLECLICK SIGBREAKF_CTRL_D
  148. #define INPUTSIG_UNICONIFY  SIGBREAKF_CTRL_E
  149. #define INPUTSIG_HOTKEY     SIGBREAKF_CTRL_F
  150.  
  151. /* Positioning Of Status Text */
  152.  
  153. #define TOPTEXT_CENTER 0
  154. #define TOPTEXT_LEFT   1
  155. #define TOPTEXT_RIGHT  2
  156.  
  157. /* Flags for startgetdir() */
  158.  
  159. #define SGDFLAGS_CANMOVEEMPTY 1
  160. #define SGDFLAGS_CANCHECKBUFS 2
  161. #define SGDFLAGS_REREADINGOLD 4
  162.  
  163. #endif
  164.